package dao;

import java.util.List;

import bean.Employee;

public interface EmployeeDAO {
	public void save(Employee employee);

	public void delete(int eid);

	public void update(Employee employee);

	public Employee findById(int eid);

	public Employee findEmployeeByuserName(String userName);

	public List<Employee> findEmployeeByProperty(String propertyName,
			Object value);

	public List<Employee> findAll();

	public List<Employee> findByPage(Integer pageIndex, Integer pageSize,
			String hql);
}
